package com.stenio.fancat.domain.shop;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liuan
 * @create 2019-02-26 15:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_et_order")
public class FcEtOrder extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("out_trade_no")
    private String outTradeNo;

    @TableField("user_id")
    private String userId;

    @TableField("et_user_id")
    private String etUserId;

    @TableField("fee")
    private Integer fee;

    @TableField("status")
    private Integer status;

    @TableField("gift_id")
    private Integer giftId;

    @TableField("reflect_amount")
    private Integer reflectAmount;

    @TableField("baby_id")
    private String babyId;

    @TableField("page")
    private String page;

    public static final String OUT_TRADE_NO = "out_trade_no";
    public static final String USER_ID = "user_id";
    public static final String STATUS = "status";
    public static final String REFLECT_AMOUNT = "reflect_amount";
    public static final String BABY_ID = "baby_id";

}
